from tkinter import *
from PIL import Image,ImageTk

root = Tk()

root.title("小提示")
root.geometry("600x600")

image = Image.open("./images/water.jpg")

# 创建ImageTk兼容的图片对象
photo = ImageTk.PhotoImage(image)

label_pic = Label(root, image = photo)
label_pic.pack()

label_text = Label(root, text = "请节约用水", fg = "green", font = ("Arial", 26, "bold"))
label_text.pack()

root.mainloop()